package org.csu.mypetstore.api.service;

import org.csu.mypetstore.api.common.CommonResponse;
import org.csu.mypetstore.api.entity.Order;
import org.csu.mypetstore.api.vo.BillAddressVO;
import org.csu.mypetstore.api.vo.CartVO;
import org.csu.mypetstore.api.vo.OrderVO;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface OrderService {
   CommonResponse<OrderVO> setCartSession(HttpSession session,Order order);

   CommonResponse<OrderVO> setCartShipSession(HttpSession session,Order order);

   CommonResponse<OrderVO> getCartSession(HttpSession session);

   CommonResponse<OrderVO> insertOrder(HttpSession session);

   CommonResponse<OrderVO> selectOrder(HttpSession session);
}
